The deal paves the way for U.N. access to Iran's Arak heavy water reactor and the Gachin uranium mine.